package Shangji2.calculator.factory;

import Shangji2.calculator.Calculator;
import Shangji2.calculator.SubtractOperation;
//减法工厂
public class SubtractFactory implements CalculatorFactory {
    @Override
    public Calculator createCalculator() {
        return new SubtractOperation();
    }
}